/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-02-19     xuxl       the first version
 */
#ifndef APPLICATIONS_PERIODIC_H_
#define APPLICATIONS_PERIODIC_H_

#include "stdint.h"
#include "string.h"

#define PERIODIC_THREAD_STACK_SIZE      1024

extern struct rt_thread PeriodicThread;
extern char PeriodicThreadStack[PERIODIC_THREAD_STACK_SIZE];
extern uint32_t Hour5s, Hour;

void HourStore(uint32_t Hr, uint32_t Addr);
void HourStoreClear(void);
void HourStoreInit(void);
void PeriodicThreadEntry(void *param);

#endif /* APPLICATIONS_PERIODIC_H_ */
